
#ifndef _TW_FONTDRAW_H_
#define _TW_FONTDRAW_H_

#pragma once
#include <d3dx9.h>
 
#include "../TwHeadFile.h"

class TwFontDraw _BaseClass_(TwRefRoot)
{
public:
	TwFontDraw():dxfont(0){};
	~TwFontDraw(){};
	void Init();
	void Render();
	void Clear();
	void DrawTextEx(char*szText,RECT* rc,DWORD dwColor);

private:
	LPD3DXFONT dxfont;    // the pointer to the font object
};
#endif